<?php
namespace app\common\model\cash;

use think\Model;
use app\common\model\user\Users;
use app\common\model\coin\CoinList;

class CashRecharge extends Model
{
	protected function getPayImgAttr($v)
	{
		return 'http://'.$_SERVER['HTTP_HOST'].'/'.$v;
	}
	
	protected function getUserIdAttr($v)
	{
		return Users::get($v);
	}
	
	protected function getCoinIdAttr($v)
	{
		return CoinList::get($v);
	}
}